import waveRequest from "@/api/request.js";

export const userSave = (data) => waveRequest({
    method: 'post',
    url: '/user/save',
    data
})

export const userDelete = (ids) => waveRequest({
    url: '/user/delete',
    method: 'post',
    data: {ids: ids}
})

export const userModify = (data) => waveRequest({
    url: '/user/modify',
    method: 'post',
    data
})

export const userQuery = (data) => waveRequest({
    url: '/user/query',
    method: 'post',
    data
})

export const userList = (data) => waveRequest({
    url: '/user/list',
    method: 'post',
    data
})

export const userPage = (data) => waveRequest({
    url: '/user/page',
    method: 'post',
    data
})
